import static org.junit.Assert.*;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;


public class LiczbaTestUnit4 {
	Liczba tst=null;
	Liczba tst2=null;
	int podstawa, liczba;
	@BeforeClass
	public static void setUpBeforeClass() throws Exception {
	}

	@AfterClass
	public static void tearDownAfterClass() throws Exception {
	}

	@Before
	public void setUp() throws Exception {
		   podstawa=2;
		   liczba=10;
		   tst = new Liczba();
		
	}

	@After
	public void tearDown() throws Exception {
	}
	
	

	@Test(timeout=500)
	public void test() {
		  assertEquals(tst.zapis(podstawa,liczba),"1010");
		  assertFalse(tst==null);
		  assertNotSame(tst,tst2)
		//fail("Not yet implemented");
	}

}
